package com.yunji.coupon.dao;

import com.yunji.common.base.IBaseDao;
import com.yunji.coupon.bo.CouponReceiveTimesBO;
import com.yunji.coupon.bo.ModifyCouponStatusBO;
import com.yunji.coupon.doamin.CouponDO;
import com.yunji.coupon.dto.CouponListDTO;
import com.yunji.coupon.dto.CouponPageDTO;

import java.util.List;

/**
 * @author : peter-zhu
 * @date : 2024/10/23 20:45
 * @description : TODO
 **/
public interface ICouponDao extends IBaseDao<CouponDO> {
    Integer receiveTimes(CouponReceiveTimesBO bo);

    List<CouponDO> couponList(CouponListDTO dto);

    List<CouponDO> couponPageList(CouponPageDTO dto);

    boolean modifyCouponStatus(ModifyCouponStatusBO status);

    boolean recall(Long id);

    List<CouponDO> couponList(CouponPageDTO dto);
}
